import instance from '../axios.service.js';
export default {
    login: (data) => instance.post(`/ai-repost/api/user/login`, data),
    getCoreChartsData: () => instance.get(`admin-api/analysis/kpi-data/user-data-last-30-days`),
    getCoreData: () => instance.get(`admin-api/analysis/kpi-data/last-30-days`),
    getRetentData: () => instance.get(`admin-api/analysis/retention/last-30-days`),
    getPaymentData: () => instance.get(`admin-api/analysis/payment/amount/all-channels-30-days`),
    getConvertData: () => instance.get(`admin-api/analysis/pay-convert/last-30-days`),
    getModuleUseData: () => instance.get(`admin-api/analysis/module-usage/last-30-day`),
    getModuleAvgUseCountData: () => instance.get(`admin-api/analysis/module-usage/avg-pv`),
    getModuleAvgUseDurationData: () => instance.get(`admin-api/analysis/module-usage/avg-duration-table`),
    getVipData: () => instance.get(`admin-api/analysis/vip-distrib/last-30-day`),
    getRegionData: () => instance.get(`admin-api/analysis/user-demographic/region`),
    getEducationData: () => instance.get(`admin-api/analysis/user-demographic/education`),
    getPositionData: () => instance.get(`admin-api/analysis/user-demographic/position`),
    getAgeGroupData: () => instance.get(`admin-api/analysis/user-demographic/age-group`),
    getChannelReportData: () => instance.get(`admin-api/analysis/channel-report/list-last-30-days`),

}
